package com.yyjj.zixun.entity;

import java.io.Serializable;
import java.util.List;

public class HomeZiXunEntity implements Serializable {
    /**
     * id : 466312
     * topic_id : 466312
     * title : Solidity编程语言：字符串、数组
     * date : 刚刚
     * desc : Solidity编程语言技术指南系列。
     * image : https://cdn.8btc.com/wp-content/uploads/2019/08/201908190555289592.png
     * tags : ["Solidity","技术指南"]
     * author_name : 汪晓明
     * author_avatar : https://appserversrc.8btc.com/viking/201907221556521.jpeg
     * views : 2243
     * is_top : 0
     */

    private int id;
    private int topic_id;
    private String title;
    private String date;
    private String desc;
    private String image;
    private String author_name;
    private String author_avatar;
    private String views;
    private int is_top;
    private List<String> tags;

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public int getTopic_id() {
        return topic_id;
    }

    public void setTopic_id(int topic_id) {
        this.topic_id = topic_id;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getDate() {
        return date;
    }

    public void setDate(String date) {
        this.date = date;
    }

    public String getDesc() {
        return desc;
    }

    public void setDesc(String desc) {
        this.desc = desc;
    }

    public String getImage() {
        return image;
    }

    public void setImage(String image) {
        this.image = image;
    }

    public String getAuthor_name() {
        return author_name;
    }

    public void setAuthor_name(String author_name) {
        this.author_name = author_name;
    }

    public String getAuthor_avatar() {
        return author_avatar;
    }

    public void setAuthor_avatar(String author_avatar) {
        this.author_avatar = author_avatar;
    }

    public String getViews() {
        return views;
    }

    public void setViews(String views) {
        this.views = views;
    }

    public int getIs_top() {
        return is_top;
    }

    public void setIs_top(int is_top) {
        this.is_top = is_top;
    }

    public List<String> getTags() {
        return tags;
    }

    public void setTags(List<String> tags) {
        this.tags = tags;
    }


    /**
     * id : 4556
     * title : 比特币不是价值存储，永远不会是，Bitcoiners可能都错了
     * description : Bitcoiners声称BTC是一种价值储存手段，但据一位基金经理说，比特币不符合充当价值存储的要求。作为CCN.com网站上的比特币怀疑论者，我的工作就是对持有比特币提出合乎逻辑的理由。今天，我认为...
     * author : kyle
     * from : kyle
     * img : https://btctrade.oss-cn-hangzhou.aliyuncs.com/covers/2019081576478.png
     * category : 要闻
     * tag : [{"id":"1","name":"官方公告","flag":"public_announcement"},{"id":"2","name":"媒体报道","flag":"news_media"},{"id":"3","name":"比特币","flag":"bitcoin"},{"id":"22","name":"比特币新闻","flag":"bitcoin_news"},{"id":"30","name":"海外","flag":"global_news"}]
     * created : 2019-08-15 09:53:30
     */

//    private String id;
//    private String title;
//    private String description;
//    private String author;
//    private String from;
//    private String img;
//    private String category;
//    private String created;
//    private List<TagBean> tag;
//
//    public String getId() {
//        return id;
//    }
//
//    public void setId(String id) {
//        this.id = id;
//    }
//
//    public String getTitle() {
//        return title;
//    }
//
//    public void setTitle(String title) {
//        this.title = title;
//    }
//
//    public String getDescription() {
//        return description;
//    }
//
//    public void setDescription(String description) {
//        this.description = description;
//    }
//
//    public String getAuthor() {
//        return author;
//    }
//
//    public void setAuthor(String author) {
//        this.author = author;
//    }
//
//    public String getFrom() {
//        return from;
//    }
//
//    public void setFrom(String from) {
//        this.from = from;
//    }
//
//    public String getImg() {
//        return img;
//    }
//
//    public void setImg(String img) {
//        this.img = img;
//    }
//
//    public String getCategory() {
//        return category;
//    }
//
//    public void setCategory(String category) {
//        this.category = category;
//    }
//
//    public String getCreated() {
//        return created;
//    }
//
//    public void setCreated(String created) {
//        this.created = created;
//    }
//
//    public List<TagBean> getTag() {
//        return tag;
//    }
//
//    public void setTag(List<TagBean> tag) {
//        this.tag = tag;
//    }
//
//    public static class TagBean {
//        /**
//         * id : 1
//         * name : 官方公告
//         * flag : public_announcement
//         */
//
//        private String id;
//        private String name;
//        private String flag;
//
//        public String getId() {
//            return id;
//        }
//
//        public void setId(String id) {
//            this.id = id;
//        }
//
//        public String getName() {
//            return name;
//        }
//
//        public void setName(String name) {
//            this.name = name;
//        }
//
//        public String getFlag() {
//            return flag;
//        }
//
//        public void setFlag(String flag) {
//            this.flag = flag;
//        }
//    }
}
